< Prev(J) / Next(K) > / View :

Filename: /text/shared/02/01170103.xhp

(section: ereignisse) (bookmark: bm_id3148643)
controls; events
events; controls
macros; assigning to events in forms

コントロール; イベント
イベント; コントロール
マクロ; フォームでのイベントの割り当て

Events
イベント(hd_id3148643.1)

On the Events tab page you can link macros to events that occur in a form's control fields.
イベント タブでは、フォームのコントロールフィールドで発生するイベントに応じて実行させるマクロを指定できます。(par_id3152350.2)

(/section: ereignisse)

When the event occurs, the linked macro will be called. To assign a macro to an event, press the ... button. An (in case of WRITER)Assign Macro(/in case of WRITER)(in other case)dialog(/in other case) opens.
指定されたイベントが発生すると、リンクされたマクロが呼び出されます。イベントにマクロを割り当てるには、「...」ボタンを押します。(in case of WRITER)マクロの割り当て(/in case of WRITER)(in other case) ダイアログ(/in other case)が開きます。(par_id3155419.40)

(variable: wie)To access this command...(variable: wie)この機能の見つけ方

(embed text/shared/00/00040501.xhp#controleigenschaftenereignisse : linkinfo)

Open context menu of a selected form element - choose Control - Events tab
選択したフォーム要素のコンテキストメニュー コントロール...イベント タブ(par_id3153334.112)

Open Form Controls toolbar or Form Design toolbar, click Control icon - Events tab
フォームコントロール ツールバーまたはフォームデザイン ツールバーを開き、コントロール アイコン → イベント タブをクリックします。(par_id3153744.113)

(/embed text/shared/00/00040501.xhp#controleigenschaftenereignisse)


Depending on the control, different events are available. Only the available events for the selected control and context are listed on the Events tab page. The following events are defined:
指定できるイベントは、コントロールの種類によって異なります。イベント タブには、選択したコントロールおよびコンテキストで使用可能なイベントのみが表示されます。指定可能なイベントには下記のものがあります。(par_id3149732.3)

(bookmark: bm_id3153252)

Approve action
実行前(hd_id3149191.12)

This event takes place before an action is triggered by clicking the control. For example, clicking a "Submit" button initiates a send action; however, the actual "send" process is started only when the When initiating event occurs. The Approve action event allows you to kill the process. If the linked method sends back FALSE, When initiating will not be executed.
このイベントは、コントロールがクリックされてアクションが引き起こされる前に発生します。 たとえば、「送信」ボタンをクリックすると、送信アクションが起動されます。しかし、実際に「送信」プロセスが開始されるのは、作動時 イベントが発生したときだけです。 コマンド実行前 イベントを使用すると、プロセスを強制終了できます。 リンクされたメソッドが FALSE を返すと、作動時 は実行されません。(par_id3153717.13)

(bookmark: bm_id3155923)

Execute action
実行時(hd_id3156024.36)

The Execute action event occurs when an action is started. For example, if you have a "Submit" button in your form, the send process represents the action to be initiated.
作動時 イベントは、アクションが開始されるときに発生します。たとえばフォームに「送信」ボタンがある場合は、送信ボタンによってアクションが開始されるということを表します。(par_id3145609.37)

(bookmark: bm_id3154924)

Changed
変更した時(hd_id3156343.41)

The Changed event takes place when the control loses the focus and the content of the control has changed since it lost the focus.
変更した時 イベントは、フォーカスがコントロールからなくなり、コントロールの内容が変更されたときに発生します。(par_id3148755.42)

(bookmark: bm_id3147084)

Text modified
テキストを変更した時(hd_id3153524.10)

The Text modified event takes place if you enter or modify a text in an input field.
テキストを変更した時 イベントは、入力フィールドでテキストを入力または変更した場合に発生します。(par_id3150495.11)

(bookmark: bm_id3154910)

Item status changed
ステータスを変更した時(hd_id3154123.8)

The Item status changed event takes place if he status of the control field has changed.
ステータスを変更した時 イベントは、コントロールフィールドのステータスが変更された場合に発生します。(par_id3150870.9)

(bookmark: bm_id3158407)

When receiving focus
フォーカスを得た時(hd_id3151176.16)

The When receiving focus event takes place if a control field receives the focus.
フォーカスを得た時 イベントは、コントロールフィールドがフォーカスを受け取った場合に発生します。(par_id3154218.17)

(bookmark: bm_id3154684)

When losing focus
フォーカスを失った時(hd_id3150447.18)

The When losing focus event takes place if a control field looses the focus.
フォーカスを失った時 イベントは、コントロールフィールドがフォーカスを失った場合に発生します。(par_id3159252.19)

(bookmark: bm_id3145787)

Key pressed
キーを押した時(hd_id3147287.20)

The Key pressed event occurs when the user presses any key while the control has the focus. This event may be linked to a macro for checking entries.
キーを押した時 イベントは、フォーカスがコントロールにある間、ユーザーが任意のキーを押したときに発生します。このイベントは、項目をチェックするマクロにリンクできます。(par_id3152940.21)

(bookmark: bm_id3145264)

Key released
キーを離した時(hd_id3154127.43)

The Key released event occurs when the user releases any key while the control has the focus.
キーを離した時 イベントは、フォーカスがコントロールにある間、ユーザーが任意のキーを放したときに発生します。(par_id3154150.44)

(bookmark: bm_id3155368)

Mouse inside
マウスを内に入れた時(hd_id3154921.26)

The Mouse inside event takes place if the mouse is inside the control field.
マウスを内に入れた時 イベントは、マウスがコントロールフィールドに入ったときに発生します。(par_id3148618.27)

(bookmark: bm_id3159180)

Mouse moved while key pressed
キーを押しマウス操作する時(hd_id3148576.30)

The Mouse moved while key pressed event takes place when the mouse is dragged while a key is pressed. An example is when, during drag-and-drop, an additional key determines the mode (move or copy).
キーを押しマウス操作する時 イベントは、キーを押しながらマウスをドラッグしたときに発生します。 たとえば、ドラッグ&ドロップ中にキーを押して、そのモード (移動またはコピー) を決定するなどがあります。(par_id3155411.31)

(bookmark: bm_id3147443)

Mouse moved
マウス操作時(hd_id3149262.32)

The Mouse moved event occurs if the mouse moves over the control.
マウス操作時 イベントは、マウスがコントロール上を移動したときに発生します。(par_id3146975.33)

(bookmark: bm_id3145366)

Mouse button pressed
マウスボタンを押した時(hd_id3159197.22)

The Mouse button pressed event occurs if the mouse button is pressed while the mouse pointer is on the control.
マウスボタンを押した時 イベントは、マウスポインタがコントロール上にある間、マウスボタンを押したときに発生します。(par_id3145271.23)

Note Icon 注マーク Note that this event is also used for notifying requests for a popup context menu on the control.
このイベントは、コントロール上のポップアップ コンテキスト メニューに関する要求の通知にも使用されます。(par_idN108BD.)

(bookmark: bm_id3144766)

Mouse button released
マウスボタンを離した時(hd_id3148880.24)

The Mouse button released event occurs if the mouse button is released while the mouse pointer is on the control.
マウスボタンを離した時 イベントは、マウスポインタがコントロール上にある間、マウスボタンを放したときに発生します。(par_id3150659.25)

(bookmark: bm_id3150094)

Mouse outside
マウスを外に出した時(hd_id3156286.28)

The Mouse outside event takes place when the mouse is outside the control field.
マウスを外に出した時 イベントは、マウスがコントロールフィールドから出たときに発生します。(par_id3149582.29)

(embed text/shared/02/01170202.xhp#reset_update : linkinfo)

Before update
更新する前(hd_id3147559.17)

The Before update event occurs before the control content changed by the user is written into the data source. The linked macro can, for example, prevent this action by returning "FALSE".
更新する前 イベントは、ユーザーが変更したコントロールの内容がデータソースに書き込まれる前に発生します。たとえば、リンクされたマクロは "FALSE" を返すことでこのアクションを阻止できます。(par_id3149669.56)

After update
更新した後(hd_id3153779.19)

The After update event occurs after the control content changed by the user has been written into the data source.
更新した後 イベントは、ユーザーが変更したコントロールの内容がデータソースに書き込まれた後に発生します。(par_id3153360.57)

Prior to reset
元に戻す前(hd_id3157909.36)

The Prior to reset event occurs before a form is reset. The linked macro can, for example, prevent this action by returning "FALSE".
元に戻す前 イベントは、フォームがリセットされる前に発生します。たとえば、リンクされたマクロは FALSE を返すと、このアクションを阻止できます。(par_id3155390.51)

A form is reset if one of the following conditions is met:
以下の条件の1つを満たしていれば、フォームをリセットします。(par_id3149236.52)

  1. The user presses an (HTML) button that is defined as a reset button.
    ユーザーが、リセットボタンとして定義されている (HTML)ボタンを押す(par_id3149164.53)

  2. A new and empty record is created in a form that is linked to a data source. For example, in the last record, the Next Record button may be pressed.
    データソースに関連付けられているフォーム内で、新しい空白のレコードを作成します。例えば、最後のレコードでボタン 次のレコード を押した場合などが考えられます。(par_id3153666.54)

After resetting
元に戻した後(hd_id3156119.37)

The After resetting event occurs after a form has been reset.
元に戻した後 イベントは、フォームがリセットされた後に発生します。(par_id3148563.55)

(/embed text/shared/02/01170202.xhp#reset_update)


< Prev / Next >